package com.yummy.service.impl;

import com.yummy.entity.DishFlavor;
import com.yummy.entity.SetmealDish;
import com.yummy.mapper.DishFlavorMapper;
import com.yummy.mapper.SetmealDishMapper;
import com.yummy.service.DishFlavorService;
import com.yummy.service.SetmealDishService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SetmealDishServiceImpl implements SetmealDishService {
    @Autowired
    SetmealDishMapper setmealDishMapper;


    @Override
    public List<SetmealDish> findSetmealDishBySetmealId(String setmealId) {
        List<SetmealDish> SetmealDishs = setmealDishMapper.selectSetmealDishByDishId(setmealId);
        return SetmealDishs;
    }
}
